#define _CRT_SECURE_NO_WARNINGS
#include "TSlist.h"
void test1()
{
	LTNode* plist = LTInit();
	LTPushFront(plist, 3);
	LTPushFront(plist, 4);
	LTPushBack(plist, 5);
	LTPopFront(plist);
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);
	LTPopBack(plist);
	LTPrint(plist);
	LTInsert(LTFind(plist, 5), 4);
	LTErase(LTFind(plist, 3));
	LTPrint(plist);
	LTDestroy(plist);
	plist = NULL;
}
int main()
{
	test1();
	return 0;
}